<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理员列表</title>
    <script src="static/js/jquery-1.9.1.min.js"></script>
    <script>
        $(function () {
            //进行异步请求
            $.getJSON("/getAllManager",function(data){
                if(data.success){
                    //遍历集合
                    $.each(data.managerList,function(index,manager){
                        alert(manager.id+" "+manager.name+" "+manager.login_name+" "+manager.password+" "+manager.post+" "+manager.job);
                    });
                }
            });
        });
    </script>
</head>
<body>
</body>
</html>

